﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/11/27 18:45:42
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class ComicsList
    {
        [IgnoreDataMember]
        public bool IsHotComic { get; set; }

        [DataMember(Name = "subject_name")]
        public string SubjectName { get; set; }

        [DataMember(Name = "progresstype")]
        public int Progresstype { get; set; }

        [DataMember(Name = "bigbook_name")]
        public string BigbookName { get; set; }

        [DataMember(Name = "bigbook_id")]
        public int BigbookId { get; set; }

        [DataMember(Name = "key_name")]
        public string KeyName { get; set; }

        [DataMember(Name = "bigbook_author")]
        public string BigbookAuthor { get; set; }

        [DataMember(Name = "bigbookview")]
        public int Bigbookview { get; set; }

        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }
    }

    [DataContract]
    public class JsonChannelMoreInfo
    {

        [DataMember(Name = "comicsList")]
        public ObservableCollection<ComicsList> ComicsList { get; set; }
    }

    [DataContract]
    public class JsonChannelMoreBase
    {

        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonChannelMoreInfo Info { get; set; }
    }   
}
